//
//  TeacherAppraiseTableViewCell.swift
//  DriverSchoolAPP
//
//  Created by Logel on 2017/5/18.
//  Copyright © 2017年 Logel. All rights reserved.
//

import UIKit

class TeacherAppraiseTableViewCell: UITableViewCell {

    @IBOutlet weak var headImg: UIImageView!
    var starView:GYSStarLevelView = GYSStarLevelView()
    override func awakeFromNib() {
        super.awakeFromNib()
        headImg.layer.cornerRadius = headImg.frame.size.width/2
        let starView = GYSStarLevelView.init(frame:CGRect(x: 218, y: 38,width: 100, height: 20))
        self.addSubview(starView)
        starView.settingMaxValue(max: 5.0)
        starView.setFontSize(fontSize: 20)
        self.starView = starView
        starView.settingHighlightValue(highlight: 4.5)

        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
